package com.heima.behavior.feign;

import com.heima.behavior.entity.ApBehaviorEntry;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("leadnews-behavior")
public interface BehaviorFeign {
    @GetMapping("/api/v1/behavior_entry/{userId}/{equipmentId}")
    public ApBehaviorEntry getEntry(@PathVariable(value = "userId" , required = false) Integer userId,
                                    @PathVariable(value = "equipmentId"  , required = false) String equipmentId);
}
